<template>
	<div class='fxmc abs_full' style='min-height: 100px;' v-if='Array.isArray(data) && data.length === 0'>
		<Empty style='color:#999' :image='small ? Empty.PRESENTED_IMAGE_SIMPLE : Empty.PRESENTED_IMAGE_DEFAULT' :description='desc' />
	</div>
</template>

<script setup>
	import { Empty } from 'ant-design-vue'
	/* --------------------------- props --------------------------- */
	defineProps({
		data 	: { type:Array, default: null },
		small	: { type:Boolean, default:true},
		desc 	: { type:String, default: '暂无数据'}
	})
</script>
